package com.study.manage.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.DiscountType;
import com.study.manage.domain.enumm.LiveDieState;

@Entity
@Table(name = "sa_discount")
public class Discount extends AbstractEntity {

    private static final long serialVersionUID = 3563292411872765209L;

    public Long blogId;
    @Column(name = "typee")
    public DiscountType type = DiscountType.Evaluate;
    public Long extId;
    public LiveDieState state = LiveDieState.LIVE;

    public Discount() {

    }

    public Discount(Long id) {
        this.id = id;
    }
}
